package com.qanda.data.entities;

import java.util.Date;
import java.util.Vector;

public class Anketa extends Tema {

	public Anketa()
	{
		super();
		setPitanja(new Vector<AnketaPitanje>());
	}
	
	public Anketa(int idTema, String naslov, int idKorisnik, String status,
			float ocena, Date vaziVremeDo, int vaziOdgDo, String tip,
			Vector<AnketaPitanje> pitanja) {
		super(idTema, naslov, idKorisnik, status, ocena, vaziVremeDo, vaziOdgDo);
		this.tip = tip;
		this.setPitanja(pitanja);
	}



	String tip;
	private Vector<AnketaPitanje> pitanja;

	public String getTip() {
		return tip;
	}

	public void setTip(String tip) {
		this.tip = tip;
	}

	public void setPitanja(Vector<AnketaPitanje> pitanja) {
		this.pitanja = pitanja;
	}

	public Vector<AnketaPitanje> getPitanja() {
		return pitanja;
	}
	
}
